﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="pj_teacher.aspx.cs" Inherits="admin_pj_teacher" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Repeater ID="rpTest" runat="server" >

            <HeaderTemplate>
                  <table border="1">    
           <tr>       
               <td style="width:300px;">姓名</td>
               <td style="width:300px;">性别</td>
               <td style="width:300px;">图片</td>
           </tr>
            </HeaderTemplate>
  <ItemTemplate>  
       <tr>
            <td><%#Eval("ty_name") %> </td>
            <td><%#Eval("ty_sex") %> </td>   
           <td> <asp:Image ID="Image1" src='<%#Eval("ty_pic")%>' runat="server"/></td>    
         </tr>
  </ItemTemplate>
  <AlternatingItemTemplate>
      <tr style="background:gray">
              <td><%#Eval("ty_name") %></td>
              <td><%#Eval("ty_sex") %> </td>
         <td>   <asp:Image ID="Image2" src='<%#Eval("ty_pic")%>' runat="server"/></td>
     </tr>       
  </AlternatingItemTemplate>
</asp:Repeater>

    </div>
    </form>
</body>
</html>
